<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        div{height:50px; background: red;}
        #content1,#content2{background: red;width: 50px;height: 100px;}
        input{width: 100px;height: 100px;}
    </style>
</head>
<body>
    <div>div1</div>
    <div>div2</div>
    <span id="content1">内联1</span>
    <span id="content2">内联2</span>
    <input type="text">
    <input type="text">
</body>
</html>